<?exit?>
<!--{template 'templates/site/default/header.html.php', 1}-->
<!--{ad/horbanner/wrap mbm}-->

<div class="wrap cl">
	<div class="main">
		<div id="pt"> <a title="$_G['setting']['sitename']" class="nvhm" id="fjump" href="./">$_G['setting']['sitename']</a><em>&rsaquo;</em><a href="street.php">{$location['name']}</a>
		<!--{loop $catnavarray $catnav}-->
		<em>&rsaquo;</em>
		<a href="street.php?catid={$catnav['catid']}&region={$region}">{$catnav['name']}</a>
		<!--{/loop}-->
		</div>
		<div class="selection mbm">
			<div class="search">
				<div class="y">
					<form id="searchForm" method="get" action="street.php">
						<input class="px" type="text" name="keyword" id="keyword" maxlength=50 value="{$keyword_show}" />
						<input type="hidden" name="catid" value="{$_GET['catid']}" />
						<input type="hidden" name="region" value="{$region}" /> &nbsp;
						<button name="shopsubmit" value="true" type="submit">{$lang['search']}</button>
					</form>
				</div>
				<!--{if $keyword_show}-->{$lang['keywords']} "<strong class="xi1">{$keyword_show}</strong>", <!--{/if}-->{$lang['totalfind']} <strong>{$resultcount}</strong> {$lang['ge']}{$lang['shop']} </div>
			<dl class="cl">
				<dt>{$lang['selectcategory']}</dt>
				<dd class="cl" style="border: none;">
					<ul>
						<!--{loop $samelevelcatarray $levelcat}-->
						<li>
							<a href="street.php?catid={$levelcat['catid']}&region={$region}&keyword={$keyword_show}" {if $levelcat['current']}class="a"{/if}>
							{$levelcat['name']} {if {$catnums[$levelcat['catid']]}}({$catnums[$levelcat['catid']]}){/if}
							</a>
						</li>
						<!--{/loop}-->
					</ul>
				</dd>
			</dl>
			<dl class="cl">
				<dt>{$lang['selectregion']}</dt>
				<!--{loop $regionnavarray $regionul}-->
				<dd class="cl">
					<ul>
						<li><a href="street.php?catid={$catid}&region={$regionul[0]['upid']}&keyword={$keyword_show}" {if (!$_G['gp_region']) || ($regionul[0]['upid'] && $regionul[0]['upid'] == $_G['gp_region'])}class="a"{/if}>{$lang['all']}</a></li>
						<!--{loop $regionul $regionli}-->
						<li><a href="street.php?catid={$catid}&region={$regionli['catid']}&keyword={$keyword_show}" {if $regionli['current']}class="a"{/if}>{$regionli['name']}</a></li>
						<!--{/loop}-->
					</ul>
				</dd>
				<!--{/loop}-->
			</dl>
		</div>
		<!--{ad/channelbanner/ad_module mbm/1}-->
		<div class="bm mbm">
			<div class="bm_h">
				<ul class="filter cl">
					<li>
						<span class="label">{$lang['viewby']}</span>
						<a href="#" onclick="updateListView('street', 'view', 'list');" class="mode_l{if $viewby == 'list'} al{/if}">{$lang['viewbylist']}</a>
						<a href="#" onclick="updateListView('street', 'view', 'pic');" class="mode_p{if $viewby == 'pic'} ap{/if}">{$lang['viewbypic']}</a>
					</li>
					<li class="y">
						<span class="checkbox{if $filterbycard} checked{/if}" onclick="updateListView('street', 'filterbycard', '{if $filterbycard}0{else}1{/if}');">{$lang['filterbycard']}</span>
						<span class="checkbox{if $filterbyclaimed} checked{/if}" onclick="updateListView('street', 'filterbyclaimed', '{if $filterbyclaimed}0{else}1{/if}');">{$lang['filterbyclaimed']}</span>
					</li>
					<li class="order y">
						<a href="#" onclick="updateListView('street', 'sort', 'default');" style="{if $sortby == 'default'}color:red;{/if}">{$lang['sortbydefault']}</a>
						<span class="pipe">|</span>
						<a href="#" onclick="updateListView('street', 'sort', 'remark');" style="{if $sortby == 'remark'}color:red;{/if}">{$lang['sortbyremark']}</a>
						<span class="pipe">|</span>
						<a href="#" onclick="updateListView('street', 'sort', 'view');" style="{if $sortby == 'view'}color:red;{/if}">{$lang['sortbyview']}</a>
						<span class="pipe">|</span>
					</li>
				</ul>
			</div>
			<div class="bm_c">
				<!--{if $viewby == 'list'}-->
				<ul class="viewlist cl">
					<!--{loop $shoplist $value}-->
					<li>
						<div class="thumb"><a target="_blank" href="store.php?id={$value['itemid']}"><img src="$value['thumb']" alt="$value['subject']" /></a></div>
						<div class="info">
							<h3 class="xi2"><a target="_blank" href="store.php?id={$value['itemid']}" title="{$value['subject']}">{$value['summary']}</a>
								<!--{if $value['isdiscount'] == 1}--> <img title="{$lang[discountshop]}" src="static/image/ico_vip.gif" class="vm" /><!--{/if}-->
								<!--{if $value['claimedshop']}--> <img title="{$lang[shop_of_claimed]}" src="static/image/ico_claime.gif" class="vm" /><!--{/if}-->
								<!--{if $value['applicantqq']}-->&nbsp;<a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin={$value[applicantqq]}&site=qq&menu=yes"><img border="0" src="http://wpa.qq.com/pa?p=2:{$value[applicantqq]}:46" alt="{$lang[qq_1]}" title="{$lang[qq_2]}" class="vm"></a><!--{/if}-->
							</h3>
							<p>
								<!--{if $value['address']}-->$value['address']<!--{/if}-->
								<!--{if $value['tel']}--> , $value['tel']
								<!--{/if}-->
							</p>
							<p class="discount xg1">
								<!--{if $value['isdiscount'] && $value['discount']}-->$value['discount']<!--{/if}-->
							</p>
							<p>
								<!--{if $value['verify1'] == 1}--><img title="{$_G['setting'][verify_1][name]}" src="static/image/{$_G['setting'][verify_1][img]}" alt="{$_G['setting'][verify_1][name]}"/> <!--{/if}-->
								<!--{if $value['verify2'] == 1}--><img title="{$_G['setting'][verify_2][name]}" src="static/image/{$_G['setting'][verify_2][img]}" alt="{$_G['setting'][verify_2][name]}"/> <!--{/if}-->
								<!--{if $value['verify3'] == 1}--><img title="{$_G['setting'][verify_3][name]}" src="static/image/{$_G['setting'][verify_3][img]}" alt="{$_G['setting'][verify_3][name]}" /> <!--{/if}-->
								<!--{if $value['verify4'] == 1}--><img title="{$_G['setting'][verify_4][name]}" src="static/image/{$_G['setting'][verify_4][img]}" alt="{$_G['setting'][verify_4][name]}" /> <!--{/if}-->
								<!--{if $value['verify5'] == 1}--><img title="{$_G['setting'][verify_5][name]}" src="static/image/{$_G['setting'][verify_5][img]}" alt="{$_G['setting'][verify_5][name]}" /> <!--{/if}-->
								<!--{if $value['verify6'] == 1}--><img title="{$_G['setting'][verify_6][name]}" src="static/image/{$_G['setting'][verify_6][img]}" alt="{$_G['setting'][verify_6][name]}" /> <!--{/if}-->
								<!--{if $value['verify7'] == 1}--><img title="{$_G['setting'][verify_7][name]}" src="static/image/{$_G['setting'][verify_7][img]}" alt="{$_G['setting'][verify_7][name]}" /> <!--{/if}-->
							</p>
						</div>
						<div class="attribute cl">
							<span class="s1 xi1 point">&nbsp;&nbsp;&nbsp;<strong>{$value['score_fir']}</strong>.{$value['score_sec']}</span>
							<span class="s2"><img src="static/image/common/{$value['groupinfo']['icon']}" title="{$value['groupinfo']['title']}" /></span>
						</div>
					</li>
					<!--{/loop}-->
				</ul>
				<!--{else}-->
				<ul class="viewlist_enlarge cl">
					<!--{loop $shoplist $value}-->
					<li>
						<div class="thumb"><a target="_blank" href="store.php?id={$value['itemid']}"><img src="$value['thumb']" alt="$value['subject']" /></a></div>
						<h3 class="xi2 mtn"><a target="_blank" href="store.php?id={$value['itemid']}" title="{$value['subject']}">$value['summary']</a></h3>
						<!--{if $value['isdiscount'] && $value['discount']}--><p class="xg1 mtn">$value['discount']</p><!--{/if}-->
						<p class="xi1">
						<img src="static/image/common/{$value['groupinfo']['icon']}" title="{$value['groupinfo']['title']}">
						</p>
					</li>
					<!--{/loop}-->
				</ul>
				<!--{/if}-->
				<div class="mtm cl">
					$multipage
				</div>
			</div>
		</div>
		<!--{ad/channelbanner/ad_module/2}-->
	</div>
	<div class="side">
		<!--{ad/sidebar/ad_sidebar mbm/1}-->
		<!--{template 'static/blockstyle/sidebar_hotshop.html.php', 1}-->
		<!--{ad/sidebar/ad_sidebar mbm/2}-->
		<!--{template 'static/blockstyle/sidebar_rdshop.html.php', 1}-->
		<!--{ad/sidebar/ad_sidebar/3}-->
	</div>
</div>

<!--{template 'templates/site/default/footer.html.php', 1}-->
